diff options
author | Derf Null <derf@finalrewind.org> | 2023-06-09 07:55:59 +0200 |
---|---|---|
committer | Derf Null <derf@finalrewind.org> | 2023-06-09 07:55:59 +0200 |
commit | 0516344ac09214ca8dde0fe0d9fa7b7832213ef0 (patch) | |
tree | c71cc5b8e1ddbc7bba3df07874c9d825f6c5cc5c /lib | |
parent | 88ede7e3086b031de46c0ed0f2c7cd976e5c7c62 (diff) |
login form: add hint about pages being only visibile after login
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Travelynx.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 0eeab09..0f602fe 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -2229,7 +2229,11 @@ sub startup { if ( $self->is_user_authenticated ) { return 1; } - $self->render( 'login', redirect_to => $self->req->url ); + $self->render( + 'login', + redirect_to => $self->req->url, + from => 'auth_required' + ); return undef; } ); |