Re: User management via sqlite / pgadmin4.db

Поиск
Список
Период
Сортировка
От Isaias Sanchez
Тема Re: User management via sqlite / pgadmin4.db
Дата
Msg-id acf0ee69-6798-7ece-4590-7f01fe4cd69b@gmail.com
обсуждение исходный текст
Ответ на User management via sqlite / pgadmin4.db  (Jan Birk <jan.g.birk@gmail.com>)
Список pgadmin-support
The password encryption are handled by flask (python code), so my guess 
is there is no way to do the same inside sqlite as it is.

If you insist in doing that, insert any string into password field and 
the user must click on "Forgot Password" to configure a valid one.

INSERT INTO user (email, password,active) VALUES 
('user@domain.com','blablabla',1);

Cheers,

Isaias S.


Jan Birk wrote on 04/27/2018 07:00 AM:
> Hi,
>
> Is it possible to create and maintain pgadmin4 users directly in the
> sqlite database: SQLITE_PATH?
>
> If yes - is there any examples or doc's out-there ?
>
> ex:
>
> insert into user values (id,email,crypt(password),active,c......
>
> Thanks and best regards
>
> Jan
>
>



В списке pgadmin-support по дате отправления:

Предыдущее
От: Jan Birk
Дата:
Сообщение: User management via sqlite / pgadmin4.db
Следующее
От: Malik Rumi
Дата:
Сообщение: column type cannot be empty