Your previous login attempt failed - User can't login

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
djb2002
Posts: 24
Joined: 2013-09-14 09:49

Your previous login attempt failed - User can't login

Post by djb2002 » 2025-07-17 22:01

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

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1709
Joined: 2018-04-01 10:12

Re: Your previous login attempt failed - User can't login

Post by pbottcher » 2025-07-19 06:26

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.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

djb2002
Posts: 24
Joined: 2013-09-14 09:49

Re: Your previous login attempt failed - User can't login

Post by djb2002 » 2025-07-20 10:37

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

saymaad
AppGini Super Hero
AppGini Super Hero
Posts: 56
Joined: 2024-06-03 16:17

Re: Your previous login attempt failed - User can't login

Post by saymaad » 2025-07-21 04:39

Look at the variable $appgini_version inside the file admin/pageServerStatus.php to check for the AppGini version used to generate your app.

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1944
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Your previous login attempt failed - User can't login

Post by jsetzer » 2025-07-21 05:33

Press F12 in browser, in console tab type AppGini.version, then ENTER
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 25.10 + all AppGini Helper tools

djb2002
Posts: 24
Joined: 2013-09-14 09:49

Re: Your previous login attempt failed - User can't login

Post by djb2002 » 2025-07-29 10:14

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

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1944
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Your previous login attempt failed - User can't login

Post by jsetzer » 2025-07-29 12:35

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.
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 25.10 + all AppGini Helper tools

djb2002
Posts: 24
Joined: 2013-09-14 09:49

Re: Your previous login attempt failed - User can't login

Post by djb2002 » 2025-08-02 17:02

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.

Post Reply