Files
lnbits/lnbits
Vlad Stan 67d8b67ee5 Create super user account if it does not exist (#1688)
* fix: temp create account for `super_user_id` if missing

* chore: remove dumb import

* refactor: move logic outside `crud`

* feat: add uuid4 conversion

* fix: require valid string in .env file

* fix: update the `settings.super_user` value in case or normalisation for UUID4

* fix: allow long super_user

* chore: code format

* fix: add UI redirect with the normalized user

* fix: normalize `super_user` up one level

* fix: should normalize user in non-ui mode also
2023-05-09 09:22:19 +01:00
..
2023-02-20 15:34:18 +01:00
2023-05-09 09:47:06 +02:00
2023-04-17 08:29:01 +02:00
2023-04-04 07:34:17 +02:00
2023-01-30 11:46:43 +00:00
2023-05-09 10:04:27 +02:00
2023-04-04 07:34:17 +02:00