Closed Adyyda closed 5 years ago
Just checked, it worked without any issues. There is no such code that restricts you to use 'admin', it is just a pre-entered value/suggestion.
Did you made a clean install and were able to insert for instance Admin-username? I tried several variants and each time i get that error (you can see the image). It worked only when i used the default username.
I have made the install in a subdomain.
Also, just noticed another issue. The latest osclass pack comes with Bender theme 3.1.5. When i enter admin area i get a message that a theme update exist (3.2.0) but you can't update it. There is no such button. I go to the market, download the 3.2 version and in replaces the 3.1.5 and when i check it i see this button from mobile mode? That issue doesn't exist in 3.1.5?
Your issue with username is related to something else in your setup, there is no such code that will restrict you. Yes, it was a clean install.
About another issue, do not post them in unrelated section. You have to create and connect your Market account inside your installation, also make sure your server can connect.
Ok. What username did you try?
I am asking because right now i have downloaded osclass from the site, and i had a clean install in the main domain and the same thing happens?
In the end it seems that we cant use a username like User-Admin "-" seems to not be accepted by the script and if so, you should put a note regarding this in the installer. The moment i removed - and used a shorter name, it worked?
I went into admin area and tried to change the username and it can't be changed if i use User-Admin. Turns out that you can add only a-z and numbers but no special characters?
You can remove regex validation part if you like, but I am not sure if that is generally a good idea. Why do you want to use special characters for username? You can use underscore _ . Also, numbers are allowed.
Keep it safe & simple.
When you make a clean install of osclass 3.8, you can't proceed further if you use a custom username. This is a serious issue since you must use only admin.