Add phone verification logic
This commit is contained in:
@@ -5,7 +5,7 @@ from django.contrib.auth import login, authenticate
|
||||
|
||||
|
||||
def index(request):
|
||||
return render(request, 'account.html')
|
||||
return render(request, 'profile.html')
|
||||
|
||||
|
||||
def register(request):
|
||||
@@ -22,3 +22,7 @@ def register(request):
|
||||
else:
|
||||
form = SiteUserForm()
|
||||
return render(request, 'registration/register.html', {'form': form})
|
||||
|
||||
|
||||
def profile(request):
|
||||
return render(request, 'profile.html')
|
||||
|
||||
Reference in New Issue
Block a user