diff --git a/www/web/warpauth/urls.py b/www/web/warpauth/urls.py index d3fa67242197605cb2e5463f19ee08dfc35e78b2..acc3968a6b68bc3de31ed842fe2000675ad731e0 100644 --- a/www/web/warpauth/urls.py +++ b/www/web/warpauth/urls.py @@ -14,8 +14,8 @@ urlpatterns = [ url(r'^account/registration/activate/(?P<token>\w+)/$', register.activate, name='activate'), url(r'^account/registration/resend/$', register.resend_token, name='resend_token'), - url(r'^/account/reset_password/$', reset_password.gen_token, name='reset_password'), - url(r'^/account/reset_password/(?P<reset_hash>\w+)/$', reset_password.change_password, name='index'), + url(r'^account/reset_password/$', reset_password.gen_token, name='reset_password'), + url(r'^account/reset_password/(?P<reset_hash>\w+)/$', reset_password.change_password, name='index'), url(r'^profile/$', profile.index, name='index'), url(r'^profile/change_password/$', profile.change_password, name='change_password'), diff --git a/www/web/warpzone/settings.py b/www/web/warpzone/settings.py index 18260803d4579b4dc19ca877b2f8a35fb19c713b..482831985874888b41340b50f6f48c321bd3bc3e 100644 --- a/www/web/warpzone/settings.py +++ b/www/web/warpzone/settings.py @@ -116,7 +116,7 @@ LOCALE_PATHS = ( DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': 'warpzone.db' + 'NAME': '/opt/database/warpzone.db' }, 'ldap': { 'ENGINE': 'ldapdb.backends.ldap',