1 (edited by v_pozidis 2020-08-25 16:35:28)

Topic: Roles (username/password)

Hi all, I am using MVDB 6.3 and when I use the Roles for creating access for users to get in the software with username and password in my created username and password I get always an error message Wronr username/passowrd, and I do not know why?
When I use admin/admin it works , but when I use username: bill  password : ok   it doesn't work.
Any help?

Post's attachments

Attachment icon Role.7z 274.68 kb, 215 downloads since 2020-08-25 

Re: Roles (username/password)

Just use the form provided by mvd in creating users. It is accessible by Administrator users

Post's attachments

Attachment icon Role.zip 495.27 kb, 236 downloads since 2020-08-25 

brian

Re: Roles (username/password)

It is also available in Options

Post's attachments

Attachment icon image.png 5.77 kb, 99 downloads since 2020-08-25 

brian

4 (edited by derek 2020-08-25 17:02:55)

Re: Roles (username/password)

Hi V_Pozidis, Hi Brian,
If you look at the _user table, you can see that the password for the user you have created has not been encrypted (see screenshot 1 in the attachment).  This is because you have not used the standard MVD forms for a) creating new users (you must have ADMIN privileges to do that) and b) for  changing your own password.
Therefore, when you try to login, MVD is, in effect, trying to decrypt a password that hasn't been encrypted in the first place and that's why you get the error.
As Brian has written, you must use the standard MVD forms when using the user / roles functionality.  To create a new user, you must be a user with ADMIN privileges (see screenshots 2 and 3).  Once the user has been created, that user can change his own password (see screenshots 4 and 5).
Derek.

Post's attachments

Attachment icon password problem.zip 355.87 kb, 235 downloads since 2020-08-25 

5 (edited by v_pozidis 2020-08-25 17:23:15)

Re: Roles (username/password)

As I told you I am using the 6.3 version and I have only the Role  in the menu bar. So all the form are custom build.

see the attached picture

Post's attachments

Attachment icon screen1.7z 14.95 kb, 232 downloads since 2020-08-25 

6 (edited by brian.zaballa 2020-08-25 17:31:25)

Re: Roles (username/password)

My bad. I'm using 6.4-beta. You don't want to update yours? I tried reinstalling 6.3. It seems working to me.

brian

Re: Roles (username/password)

brian.zaballa wrote:

My bad. I'm using 6.4-beta. You don't want to update yours?

I am using standard versions, can you help me?

Re: Roles (username/password)

Tried reinstalling 6.3. It seems working to me.

Post's attachments

Attachment icon image.png 49.23 kb, 107 downloads since 2020-08-25 

brian

Re: Roles (username/password)

Finlay I get it. Didn't know that option .
Thank you