Login
Welcom to %(wikiname)s!
Enter your login name:
[_______________________]
Enter your password:
[_______________________]
[Submit]
If you don't have a user account in this wiki, you can create one: ../RegisterUser
This could also be done by using OliverGraf/HttpAuthentication. It does not only imply to use HTTP Auth, but also a change in the interface: instead just giving a 'not allowed' message to a not logged in user (in case of doing some unallowed stuff), Moin could just redirect the user to the login page (or send the auth request in case of HTTP Auth) and give him a message that explains this.
Just to make this clear: HTTP Auth does not mean using some server dependent stuff (like .htaccess/Limit for apache). It means Moin will send those auth headers on its own, validating login against the standard user preferences storage. No need for a seperate passwd.
-- OliverGraf 2004-04-22 07:42:00
What about forgotten passwords?
-- RadomirDopieralski 2005-12-16 12:28:41
Login Procedure
Problem: Users end up at the UserPreferences page and are confused. They exspect to be at the page where the started to login process.
Right now
User is on AnyPage and pressed "Login"
User sees Login form (UserPreferences page with macro), enters name and password
- some magic happens (?action=userform)
User sees UserPreferences with lots of options (UserPreferences page with macro) and no link to get where he came from.
In a better world
User is on AnyPage and pressed "Login"
User sees Login form (UserPreferences page with macro), enters name and password
- some magic happens (to be defined)
User is back on AnyPage
Possible implementations
clicking on "Login" invokes an action insted of directly showing the UserPrefs page
is changing userform action to (almost) always show the UserPrefs page insted of the current a problem?
clicking on "Login" add a parameter that is taken and preserved by the UserPreferences macro and allows the userform action to redirect to AnyPage after successfull login
As of moin--main--1.5--patch-487 there is now a login/logout/UserPreferences action and a Login macro.