Skip to content

Commit

Permalink
docs: Initial super user
Browse files Browse the repository at this point in the history
  • Loading branch information
Zomtir committed May 2, 2024
1 parent c391eee commit 4b68476
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,20 @@ Should mostly work out of the box, if a cptserver is running.
flutter build web
```

### Initial admin user

As long as there is a temporary super-user ('admin' by default) configured in the server configuration file (cptserver.toml), you can login as this user
with any password (the mask require >=1 password length) with full permissions.

After login, you should perform those steps:
- Change your first name and last name placeholders in the user administration.
- Change your password in the user administration. This will also generate new salt/pepper hashes.
- Create a new team in the team administration (e.g. "Admin" team).
- Give the admin team all permissions.
- Add yourself to the admin team.
- Remove the super-user from the server configuration file.
- Restart the server.

### Localization

Current supported locales are EN and DE in `main.dart`.
Expand Down

0 comments on commit 4b68476

Please sign in to comment.