Add POST account/setup to distinguish between setup and password reset

This commit is contained in:
Johannes Zellner
2016-04-01 16:35:22 +02:00
parent c90a8041e2
commit 7a5ac1a2f5
3 changed files with 39 additions and 18 deletions

View File

@@ -20,7 +20,7 @@ app.controller('Controller', [function () {}]);
<div class="container" ng-app="Application" ng-controller="Controller">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<form action="/api/v1/session/password/reset" method="post" name="setupForm" autocomplete="off" role="form" novalidate>
<form action="/api/v1/session/account/setup" method="post" name="setupForm" autocomplete="off" role="form" novalidate>
<input type="hidden" name="_csrf" value="<%= csrf %>"/>
<input type="hidden" name="resetToken" value="<%= resetToken %>"/>