-
Notifications
You must be signed in to change notification settings - Fork 38
Creating an admin #2
Comments
In addition - how do we configure a forgot password with this script ? I am also, attempting to create a "sign as user" - have you had luck with this ? |
Hi.
There is no "admin" user, but you could grant a user an attribute identifying them as an admin:
And to test it:
You would have to manually create a process to this and then use the method
Well, it wouldn't be hard to make, by adding a new method to the script:
|
Awesome! Thanks for the support and comments, much appreciated on that. |
Quickly, would that sign as user ... dump a url ? Sorry, I am not an advanced coder. Lol |
No, you would have to create a route to a URL yourself, where you use that specific method. |
Okay, I am extremely lost with that function - where would I push that into the code ? and how would I call it. |
Hey, Great starter script here! I am wondering how to identify a user as "Admin" ?
The text was updated successfully, but these errors were encountered: