Allow to login with Oauth or standard login
I want to archive usersmail on a local mailserver but also a few account from google. When I activate Google in my config I can only login with an google account.
Comments (10)
-
repo owner -
reporter This would be nice.
-
repo owner I twisted it a bit. If you visit the site, then google login is offered. If you need a local or ldap, etc. login, then use /login.php. Please download https://bitbucket.org/jsuto/piler/raw/5b2f4447903b196f4700f575e4aa3a324fc981b3/webui/view/theme/default/templates/login/login.tpl and let's if it's what you expected.
-
reporter Ok works, but its not nice. Why I have to login with my Google Credentials? In standart case Users have to login with google to the archive only the firsttime to activate the archiving their account. So it would be nicer, everyone see the standart login. In the case someone would authenticate with google a single link on the loginform is enough.
-
repo owner So, just to summarize: always the standard login form. In case of google auth is enabled, then additionally a link to google under the submit button, right?
-
repo owner check out http://piler.aaa.fu.acts.hu/ Is this what you had in mind?
-
reporter Yes, this is fine.
-
repo owner OK, I've just committed it, please try it. If it's still not good, then reopen this issue.
-
repo owner - changed status to resolved
-
Hi, I'm facing this same scenario here, and would like to have the standard login as well as the google login on the default page. Trouble is that I have manually updated login pages as per commit 5b2f444 but it does not have the same effect. What do I need to do to get the same effect as http://piler.aaa.fu.acts.hu/ ??
- Log in to comment
Is it OK to show the usual login form, and if google auth is enabled then the link to Google too?