OJS development discussion, enhancement requests, third-party patches and plug-ins.
Moderators: jmacgreg, michael, jheckman, barbarah, btbell, bdgregg, asmecher
The OJS Technical Reference
and the OJS API Reference
are both available from the OJS Documentation
You can access our public Git Repository here
. Comprehensive Git usage instructions are available on the wiki
You can access our Bugzilla report tracker here
You can use our Google Custom Search
to search across our main website, the support forum, and Bugzilla.
Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the OJS Editorial Support and Discussion
subforum; if you have a technical support question, try the OJS Technical Support
I found error
OJS 126.96.36.199 (June 25, 2010 - 08:52 AM) convert registry all user name to low upper case character.
(ex. Test1 to test1). And user cannot login with user name Test1.
- Posts: 32
- Joined: Thu Oct 16, 2008 3:27 am
I'm afraid I don't really understand what the problem is. How did you go about converting the usernames, and why?
- Posts: 4153
- Joined: Tue Feb 14, 2006 10:50 am
When manually registering a user account or when importing users through the XML import/export plugin, user names are converted to lower case. However, a user is not necessarily aware of this. So, if I am registering an account as "Testuser" nobody tells me that the next time I should login as "testuser". I've tried this, and logging in as "Testuser" with a capital T didn't work. That's because the PKPLoginHandler passes the UserVar "username" to Validation::login as entered. A possible workaround is to change line 120 in PKPLoginHandler to
- Code: Select all
$user = Validation::login(strtolower($request->getUserVar('username')), $request->getUserVar('password'), $reason, $request->getUserVar('remember') == null ? false : true);
- Posts: 98
- Joined: Wed Jul 25, 2012 2:56 pm
- Location: Munich, Germany
Return to OJS Development
Who is online
Users browsing this forum: No registered users and 1 guest