1
0
フォーク 0
ミラー元 https://github.com/kakwa/ldapcherry 同期済み 2025-07-03 11:57:41 +02:00

adding a redirected to the originaly requested page on login

user not authenticated and requesting an url are redirected to
the signin page with the requested page url as the query string (in
base64). It permits to redirect them to the requested page once they
've log in.
このコミットが含まれているのは:
kakwa 2015-07-06 07:58:27 +02:00
コミット 1f0cc50d58
2個のファイルの変更30行の追加10行の削除

ファイルの表示

@ -4,7 +4,13 @@
<div class="row clearfix" style="margin-top:30px">
<div class="col-md-4 column"></div>
<div class="col-md-4 column well">
<form method='POST' action='/login' role="form" class="form-signin">
<%
if url is None:
qs=''
else:
qs='?url=' + url
%>
<form method='POST' action='/login${qs}' role="form" class="form-signin">
<div class="form-group">
<h2 class="form-signin-heading">Please sign in</h2>
<div class="input-group">