Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 92

ridgerock
Veteran developer
Profile
Posts: 183
Reg: May 19, 2011
Louisville
1,830
06/16/15 08:48 AM (9 years ago)

Hard Code in a password to Beautiful Login

I'm trying to hard code in a universal password into the Beautiful Login plugin. I believe this would be done within the addUser.php script but I am having issues on how to alter that script. My goal is to be able to provide a register screen for users but have a pre-determined password set so not just anyone can register. You have to know the password. Any ideas would be appreciated.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
06/16/15 10:41 AM (9 years ago)
I've done it before, in CR_screen_login.m, but I'm missing the code, figured I could at least point you into the right direction (super busy, sorry) - wasn't too hard, just remove the control panel stuff, make a NSString with your password, and make it check that instead. Best of luck.
 
ridgerock
Veteran developer
Profile
Posts: 183
Reg: May 19, 2011
Louisville
1,830
like
06/16/15 10:51 AM (9 years ago)
Thanks David.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.