We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve the authentication tutorial. Mention that the is_logged_in() method needs to return a true or false value to affect the under clause.
if ($self->tx->remote_address eq '128.168.0.3') { $self->render( inline => '<h2>Restricted Access</h2>', status => 403 ); }
just falls through to the following return 1 if $self->session('logged_in') and renders the page to the undesirable ip address.
return 1 if $self->session('logged_in')
The text was updated successfully, but these errors were encountered:
duffee
No branches or pull requests
Improve the authentication tutorial.
Mention that the is_logged_in() method needs to return a true or false value to affect the under clause.
just falls through to the following
return 1 if $self->session('logged_in')
and renders the page to the undesirable ip address.The text was updated successfully, but these errors were encountered: