Page 1 of 1
Your previous login attempt failed - User can't login
Posted: 2025-07-17 22:01
by djb2002
I haven't made any changes to users for many years yet one of them is having problems logging in.
They have tried resettings their password, so have I.
I also tried using the instructions in the FAQ to manually change their password in the database passMD5 to "21232f297a57a5a743894a0e4a801fc3" (without the quotes), but it won't let them login with admin as the password.
It seems whatever we try to do to this account they cannot login.
Any ideas what could be causing this? - The account is enabled and active as far as I can tell.
Thanks in advance
Re: Your previous login attempt failed - User can't login
Posted: 2025-07-19 06:26
by pbottcher
Hi,
what version of AppGini are you using?
On the newer versions the passMD5 should start with $2y$10$.
Can you reset the password for that user via the userinterface? That should set the password correctly in the database.
Re: Your previous login attempt failed - User can't login
Posted: 2025-07-20 10:37
by djb2002
Thanks for your reply.
Is there an easy way to check what version is being used from the website files themselves? - I don't have the application installed at the moment so I'm not sure what version they were created on.
I've already tried resetting the password multiple times but that doesn't seem to change the contents of the passMD5 field for that account for some reason.
Thanks
Re: Your previous login attempt failed - User can't login
Posted: 2025-07-21 04:39
by saymaad
Look at the variable $appgini_version
inside the file admin/pageServerStatus.php
to check for the AppGini version used to generate your app.
Re: Your previous login attempt failed - User can't login
Posted: 2025-07-21 05:33
by jsetzer
Press F12
in browser, in console tab type AppGini.version
, then ENTER
Re: Your previous login attempt failed - User can't login
Posted: 2025-07-29 10:14
by djb2002
All I see inside the admin/pageServerStatus.php file is this:
"<?php
require(__DIR__ . '/incCommon.php');
$GLOBALS['page_title'] = $Translation['server status'];
include(__DIR__ . '/incHeader.php');
include(__DIR__ . '/incFooter.php');
"
If I press F12 in the browser and select console tab nothing is shown if I type AppGini.version
Re: Your previous login attempt failed - User can't login
Posted: 2025-07-29 12:35
by jsetzer
djb2002 wrote: ↑2025-07-29 10:14
If I press F12 in the browser and select console tab nothing is shown if I type AppGini.version
According to changelog,
AppGini.version
on client side has been implemented in AppGini 5.98, Nov 1, 2021.
If nothing is shown in console tab of your browser's developer tools you are probably using a 5.97 or older.
Re: Your previous login attempt failed - User can't login
Posted: 2025-08-02 17:02
by djb2002
Thanks. It's very strange that it's been working for years and then just stopped with no way to fix it for that user.
I've upgraded to a later version and it is working fine now. Not sure what went wrong.