A user with a designated account logs into my page and they receive a page with a nondisclosure agreement. They must type their full name in a field provided at the bottom. I don’t know how to see if the name is their name exactly. If it is their name they should be redirected to the inside of the site. If they enter anything other than their name they are logged out and their account is deleted (maybe just by changing their name in my database, which they use to login). here is some code that may be helpful in helping me.. thank you so much!
First and last name code:
<?php echo "$identity->first_name $identity->family_name"; ?>
Well, I think that it is quite easy 🙂
You should do something like this in your controller action: