Add phone verification logic
This commit is contained in:
@@ -143,4 +143,7 @@ STATICFILES_DIRS = [os.path.join(BASE_DIR, "static")]
|
||||
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
||||
|
||||
LOGIN_REDIRECT_URL = '/account/'
|
||||
# LOGIN_REDIRECT_URL = '/account/'
|
||||
PHONE_VERIFICATION_ENABLE = False
|
||||
PHONE_VERIFICATION_ATTEMPTS = 5
|
||||
PHONE_VERIFICATION_APP_ID = "ACC90F4A-FE4A-5137-45C9-5D9E84DE9440"
|
||||
|
@@ -19,8 +19,8 @@ from django.urls import path, include
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('account/', include('account.urls')),
|
||||
path('accounts/', include('django.contrib.auth.urls')),
|
||||
path('accounts/', include('account.urls')),
|
||||
path('api/', include('api.urls')),
|
||||
path('dev/', include('dev.urls')),
|
||||
path('orders/', include('order.urls')),
|
||||
|
Reference in New Issue
Block a user