-
Notifications
You must be signed in to change notification settings - Fork 188
[Docs] Update Troubleshooting Documentation for expired lorisadmin account #8102
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
Conversation
christinerogers
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @satvik-tha-god and congrats on your first PR 🎉
I've suggested some very minor tweaks related how we document setup/credentials.
Please see my suggestions inline below, and be sure to re-request my review when you've addressed these, and I'll approve.
I saw you committed this to main which is great.
Any thoughts @racostas on whether this should (also) go to the 24 branch, for good practice?
docs/wiki/00_SERVER_INSTALL_AND_CONFIGURATION/01_LORIS_Install/Troubleshooting.md
Outdated
Show resolved
Hide resolved
docs/wiki/00_SERVER_INSTALL_AND_CONFIGURATION/01_LORIS_Install/Troubleshooting.md
Outdated
Show resolved
Hide resolved
docs/wiki/00_SERVER_INSTALL_AND_CONFIGURATION/01_LORIS_Install/Troubleshooting.md
Outdated
Show resolved
Hide resolved
docs/wiki/00_SERVER_INSTALL_AND_CONFIGURATION/01_LORIS_Install/Troubleshooting.md
Outdated
Show resolved
Hide resolved
…/Troubleshooting.md Co-authored-by: christinerogers <christinerogers@users.noreply.github.com>
…/Troubleshooting.md Co-authored-by: christinerogers <christinerogers@users.noreply.github.com>
| 3. Run the following command: | ||
| ``` | ||
| DELETE FROM user_login_history WHERE UserID = "admin"; | ||
| ``` | ||
| ***Note:** Using this command will wipe out your account's login history* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might have found a better way a little while ago. I think instead of erasing history, we can manually add an entry like
INSERT INTO user_login_history (userID,Success,Page_requested) VALUE ('admin','Y','/');
This need to be tested but I find it a better alternative to deletion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @satvik-tha-god. Please let's try @ridz1208 suggestions and if goes well I will do prefer this solution instead of erasing the history of the account, I agree with both @christinerogers and @ridz1208.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made the changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great, just let us know -- Did you also test it as Rida suggested? what happened to your table?
This need to be tested but I find it a better alternative to deletion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for not being descriptive earlier, I did run the command on my database and everything seems to be working fine
I was able to login normally with no issues after running those commands
docs/wiki/00_SERVER_INSTALL_AND_CONFIGURATION/01_LORIS_Install/Troubleshooting.md
Outdated
Show resolved
Hide resolved
…/Troubleshooting.md Co-authored-by: christinerogers <christinerogers@users.noreply.github.com>
christinerogers
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great, thanks for the changes @satvik-tha-god - this PR looks good to me.
@racostas - over to you to pull, test and review?
docs/wiki/00_SERVER_INSTALL_AND_CONFIGURATION/01_LORIS_Install/Troubleshooting.md
Outdated
Show resolved
Hide resolved
docs/wiki/00_SERVER_INSTALL_AND_CONFIGURATION/01_LORIS_Install/Troubleshooting.md
Outdated
Show resolved
Hide resolved
…/Troubleshooting.md Co-authored-by: racostas <37309344+racostas@users.noreply.github.com>
racostas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
|
@driusan, Please take a last look but I think this one is ready to be merged. |
|
Hi @driusan @ridz1208 - I think this should be a quick merge, it was a documentation update requested by users, and it's had 2 approvals since June. |
Brief summary of changes
Link(s) to related issue(s)