Skip to content

Commit 0cf1bce

Browse files
committed
redirect issues
1 parent 2c339c2 commit 0cf1bce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sshkm/views/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def auth_login(request):
3737
user = authenticate(username=username, password=password)
3838
if user is not None and user.is_active:
3939
login(request, user)
40-
return redirect('/')
40+
return redirect('index')
4141
else:
4242
sshkm_version = dsettings.SSHKM_VERSION
4343
return render(request, 'sshkm/login.html', {'sshkm_version': sshkm_version})

0 commit comments

Comments
 (0)