lnbits-legend/lnbits/core/views
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
..
__init__.py refactor: breaking bad 2020-03-08 23:00:41 +01:00
admin_api.py FIX: #1661 (#1663) 2023-05-04 17:22:24 +02:00
api.py Serverside Pagination for payments (#1613) 2023-05-09 09:18:53 +01:00
generic.py Create super user account if it does not exist (#1688) 2023-05-09 09:22:19 +01:00
public_api.py fix pyright lnbits/core 2023-04-04 07:34:37 +02:00