Welcome Guest, Not a member yet? Register   Sign In
DX Auth add Role to User
#1

[eluser]Shmee[/eluser]
I am using DX Auth in project I am working on, and for the most part it is working the way I want it to, but I can't seem to find the function to add a role to a user. I can create rolls, and register users, and give the roles custom permissions, and I see the role field in the database, which I can change manually, but I don't see the library function to change that field.

Is there one, or do I have to write it? It just seems kind of odd that I would have to write something that seems so fundimental to an authentication library that already includes role based permissions.

Thanks for your help,

-Shmee
#2

[eluser]Shmee[/eluser]
Nevermind on this. I just created my own function. It just seemed odd that it didn't come with one.

-Shmee




Theme © iAndrew 2016 - Forum software by © MyBB