Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

look out #32

Open
cookiegruemel opened this issue Aug 12, 2021 · 1 comment
Open

look out #32

cookiegruemel opened this issue Aug 12, 2021 · 1 comment

Comments

@cookiegruemel
Copy link

I have look me with the admin account out (I del it) :( is there a way to recover?

@ICTKashif
Copy link

please run the following commands in MySQL

#> mysql
USE ictfax;
INSERT INTO usr(username, passwd, first_name, last_name, email, phone, active, created_by) VALUES ('admin', MD5('helloAdmin'), 'System', 'Administrator', 'admin@ictcore.org', '111111', 1, 1);
SELECT @usrId := LAST_INSERT_ID();
SELECT @roleId := role_id FROM role WHERE name='admin';
INSERT INTO user_role VALUES (@roleId, @usrId);
SELECT @roleId := role_id FROM role WHERE name='user';
INSERT INTO user_role VALUES (@roleId, @usrId);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants