Replies: 5 comments 7 replies
-
|
There is a plugin for 3rd party login: https://github.com/Roy-Orbison/adminer-login-external which can be used also for autologin. It is in my TODO list, I want to review it and maybe provide its functionality directly. We'll see. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for pointing out that plugin - I hadn't seen that. Honestly though it seems to be a bit hacky with some similar approaches to what I've done, eg populating and hiding the form fields, and using JS to autosubmit the form. Granted it has some additional protection with |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Just wanted to post an update here. I have refined my approach a bit and it's been reliable for a few weeks now. Note the change to the new One caveat is that I still do get that |
Beta Was this translation helpful? Give feedback.
-
|
Autologin implementation by checking username and permanent cookie has limitations. If the session cookie expires or gets lost, you will end up on a page with login form, probably also with an error message. I implemented new How it works:
Other details:
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Not sure if anyone has come across this old thread: https://sourceforge.net/p/adminer/discussion/960418/thread/0ebcd89548/
It used to be so simple to automatically login with
credentials()but around v4.7.2 it stopped working and so I implemented an ugly hack (https://github.com/adrianbj/TracyDebugger/blob/cf2092dd81b87e0dff63b704a52d99614f70a5db/panels/Adminer/plugins/AdminerProcessWireLogin.php#L51-L90) with:I'd love to see this work like it used to, or has anyone else actually found a proper solution that works currently?
Beta Was this translation helpful? Give feedback.
All reactions