bug fix
This commit is contained in:
parent
1c2b63a7fb
commit
7d6b8f2247
2 changed files with 2 additions and 2 deletions
|
|
@ -178,7 +178,7 @@ USE_TZ = True
|
||||||
# LOGIN_URL = '/accounts/login/'
|
# LOGIN_URL = '/accounts/login/'
|
||||||
# LOGIN_REDIRECT_URL = '/accounts/profile/'
|
# LOGIN_REDIRECT_URL = '/accounts/profile/'
|
||||||
|
|
||||||
# LOGIN_URL =
|
LOGIN_URL = '/users/login'
|
||||||
LOGIN_REDIRECT_URL = '/'
|
LOGIN_REDIRECT_URL = '/'
|
||||||
|
|
||||||
AUTH_USER_MODEL = 'users.User'
|
AUTH_USER_MODEL = 'users.User'
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,7 @@
|
||||||
// var data = {'username': mobileNumberOrUsername}
|
// var data = {'username': mobileNumberOrUsername}
|
||||||
//}
|
//}
|
||||||
|
|
||||||
$.post("{% url 'users:request_otp' %}", data).done(
|
$.post("{% url 'users:request_otp_api' %}", data).done(
|
||||||
function (result) {
|
function (result) {
|
||||||
console.log(result);
|
console.log(result);
|
||||||
if (result.hasOwnProperty('ttl')) {
|
if (result.hasOwnProperty('ttl')) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue