File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JForum and the fly likes Admin Editing User Informations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Admin Editing User Informations" Watch "Admin Editing User Informations" New topic

Admin Editing User Informations

Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi Guys!!!

If a new user registered himself with the wrong e-mail AND
The mail validation is setted to true/yes...

Consequently, the new user will never receive the e-mail and, of course, won't can validate his new account. :roll:

Well... I think that the only one way to resolve it would be:

1. The user create a new user or;
2. The user contacts the admin and asks him to change the e-mail address.

Well, considering the 2nd alternative... if the Admin tries to change the user informations, at Administration Panel, he can change only the Username!!! The e-mail and the password aren't updated to the database!

Is it a bug, or is it proposital?

One more question: there is some procedure to change the user's e-mail without to change it manually at MySQL?

[ ]'s
[originally posted on by leandro_salvador]
Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I think this is a bug, I've the same problem, I'm unable to change user password from admin control panel and I've to manually insert the correct value in database.
[originally posted on by redhand]
Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
It's really strange! :roll:

If you are logged as the user:

1. Try to change only the e-mail! It will not change!
2. Try to change only the password! It will change! :?
3. Try to change the e-mail AND the password! Both will change (even if you "change" mantaining the same password).

If you are logged as the Admin:

You won't change anything, neither the e-mail, neither the password, doesn't matter the combination of changes.

But if you want, you change the username!!! :?

I think that JForum loads the same file to edit user informations, even if it's loaded from the Administration Panel or the My Profile screen.

All the rest of details are changed correctly, less one!!!

Try to change, logged as Admin, the user's Language Default to another one than default... try ES_es, or maybe Dutch, as I did. ;)

What happens? The current session changes itselfs language!!!

If you logout, everything comes back to the normal... but it's a really strange behaviour, I think so! :roll:

(And happilly the language will stay ES_es, or Dutch, as you selected!
I suggest that you and Rafael try to play some minutes with these languages changes at general users profiles, through the admin privilegies, and even through the user profile, logging out in sequence: the new language will stay there!!! )

[ ]'s
[originally posted on by leandro_salvador]
Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
You can only change your email if you provide the current password. That's described in the forum.

I'll fix the bug in the Admin Panel, where the Admin should be able to edit any information there.

[originally posted on by Rafael Steil]
I agree. Here's the link:
subject: Admin Editing User Informations
Similar Threads
User Locked is Unlocked at Activation Account
Bean:Message - Advantages ?
Email Notification when New User Registers
Issues in sending mail using JavaMailSender
mail-service.xml - multiple smtp accounts