Move login, logout and register to /api/v1/user
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
return match;
|
||||
},
|
||||
success: function() {
|
||||
window.location.href = "/api/v1/restricted";
|
||||
window.location.href = "/dashboard";
|
||||
},
|
||||
error: function() {
|
||||
$('#invalidCredentials').show();
|
||||
@ -47,7 +47,7 @@
|
||||
Budgeteer
|
||||
</div>
|
||||
<div class="container col-lg-12" id="content">
|
||||
<form id="loginForm" action="/api/v1/register" method="POST" class="center-block">
|
||||
<form id="loginForm" action="/api/v1/user/register" method="POST" class="center-block">
|
||||
<div class="form-group">
|
||||
<label for="email">E-Mail</label>
|
||||
<input type="text" name="email" class="form-control" placeholder="E-Mail" />
|
||||
|
Reference in New Issue
Block a user