saurabhshri/ccextractor-web

Create 'admin' user when initialising the app irrespective of application 'mode'.

saurabhshri opened this issue · 2 comments

Currently admin account is created only when initialising app in 'local mode'. Create an admin account when initialising app irrespective of application 'mode'.

Relevant section of code:

def init_app() -> bool:

Relevant config :

ADMIN_NAME = 'Administrator'

T1duS commented

After fixing it, how can I test if it works in public mode? @saurabhshri