mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
firstboot: Rename views/urls to be non-numeric
This commit is contained in:
1 parent
c37aa0fbd5
commit
56686b7148
13 files changed
+40
-37
No files matched your search
@@ -245,8 +245,8 @@ class UserChangePasswordForm(SetPasswordForm):
|
||||
return user
|
||||
|
||||
|
||||
class State1Form(ValidNewUsernameCheckMixin, auth.forms.UserCreationForm):
|
||||
"""Firstboot state 1: create a new user."""
|
||||
class FirstBootForm(ValidNewUsernameCheckMixin, auth.forms.UserCreationForm):
|
||||
"""User module first boot step: create a new admin user."""
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
self.request = kwargs.pop('request')
|
||||
|
||||
Reference in new issue
Block a user