MojoMojo::Controller::User(3pm) User Contributed Perl Documentation MojoMojo::Controller::User(3pm)NAME
MojoMojo::Controller::User - Login/User Management Controller
DESCRIPTION
This controller performs user management: registration, login, logout, password recovery and profile editing.
ACTIONS
login (/.login)
Log in through the authentication system.
logout ( /.logout )
Log out the user.
users ( /.users )
Show a list of the active users with links to the pages they edited.
page_user
Show a user's preferences
prefs ( .prefs )
Main user preferences screen.
password ( .prefs/password )
Change password action.
template: user/password.tt
recover_pass
Email a user a new password
register ( /.register )
Show new user registration form.
template: "user/register.tt"
is_account_taken
Test to see if a login or email is already in use.
do_register ( /.register )
New user registration processing.
templates: "user/password.tt", "user/validate.tt"
validate ( /.validate )
Validation of user email. Will accept a md5_hex mailed to the user earlier. Non-validated users will only be able to log out.
reconfirm
Send the confirmation mail again to another address.
profile ( .profile )
Show user profile.
editprofile
Form to edit a person's profile
do_editprofile
Apply the edits to a person's profile
AUTHOR
David Naughton <naughton@cpan.org>, Marcus Ramberg <mramberg@cpan.org>
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2011-09-02 MojoMojo::Controller::User(3pm)
Check Out this Related Man Page
MojoMojo::Controller::Admin(3pm) User Contributed Perl Documentation MojoMojo::Controller::Admin(3pm)NAME
MojoMojo::Controller::Admin - Site Administration
DESCRIPTION
Action to handle management of MojoMojo. Click the admin link at the bottom of the page while logged in as admin to access these functions.
METHODS
auto
Access control. Only administrators should access functions in this controller.
settings ( /.admin )
Show settings screen.
user ( .admin/user )
User listing with pager, for enabling/disabling users.
role ( .admin/role )
Role listing, creation and assignment.
create_role ( .admin/create_role )
Role creation page.
edit_role ( .admin/role/ )
Role edit page.
handle_role_form
Handle role form processing. Returns true when a submitted form was actually processed.
update_user ( *private*)
Update user based on user listing.
precompile_pages
Make a formatted version of content body and store it in content.precompiled. This makes MojoMojo go zing, when loading content for page
requests.
Depending on the number of pages, and versions of them, this could take some minutes. For 2000 page versions on a 2.4 GHz desktop this
script took about 3 minutes to run.
delete
Delete a page and its descendants. This is in MojoMojo::Controller::Admin because we are restricting page deletion to admins only for the
time being.
TODO: this method should reside in the Model, not in a Controller (issue #87).
AUTHOR
Marcus Ramberg <mramberg@cpan.org>
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2011-09-02 MojoMojo::Controller::Admin(3pm)
I would like to automatically logout from the system inactive users depending on their functions.
For example there are users that I would like to logout after 15 minutes of inactivity, but there are others that I would like to logout after 30 minutes of inactivity.
It's possible to do this??? (6 Replies)
Dear all members
I've a question basd on an AIX enviroment. In here I've two administrative users, are used for the running application (SAP).
Now my problem's, that's not possible to login over the "normal"
Loginscreen as such a user. If I try this, the FTP connection will
closed at once. It's... (6 Replies)
login: TEST7
TEST7's Password:
Your password will expire: Wed Feb 19 14:28:08 2003
How can I the same information become in a script (as example
in the .profile)?????????
My login starts with .profile. These File is a menue with 24 lines and the message " Your password ....." disappear
to... (8 Replies)
In sco unix sysyem, we can see the users by suing w. at the idel column we can know how long a user who login the system but do noting.
My question is how can I auto logout such users like above? (6 Replies)
Discussion started by: luoxl
6 Replies
5. Post Here to Contact Site Administrators and Moderators
Hi,
I am using Redhat 4AS and I'm planning to change the default directory (/home/psuser) upon login to /opt/directory/.
This is my .bash_profile entry:
# .bash_profile
# Get the aliases and functions
if ; then
. ~/.bashrc
fi
# User specific environment and startup programs... (9 Replies)
Hi,
Can you please let me know how can and where we will find the logs. ie,which user is login and logout from server and by using which ip address they accessed server.
please let me know the steps and folder, file names to trace the logs from server . we are using System = SunOS 5.10.
Please... (10 Replies)
Hi All,
I want to validate the Production Database password at the time of login through script. If incorrect password entererd by the user, the script will ask again for the password.
Below is the sample of my script...
#########################
# Unix Code Starts here #... (6 Replies)
Hello Experts,
I have a use case -
Currently, in my .profile I have added "bash" at the end so while logging in, it will be bashed as well. Which is working fine and no issues.
But while logging out, I have hit exit two times like 1st exit will come out of bash shell and 2nd exit will... (5 Replies)
Hey,
Have changed the login from a legacy form on the upper right to a JS popup (which I originally wrote for mobile); by clicking on the person looking icon on the upper right.
I have tested and it seems to work fine (has been working on mobile for quite some time); but I may tweek the... (14 Replies)