Finally got the login working. When the program launches, the user sees the authentication page because it has been set to root. If the user does not exist in the db, I use a redirect to push the user to the page used to create new users. After a new user is entered, I use the redirect to send the user back to root. Along the way, I use the params function to pass the username value around so the username text field is autofilled.
No comments:
Post a Comment