Skip to content
This repository has been archived by the owner on Apr 19, 2020. It is now read-only.

Commit

Permalink
fixed autologin with empty credentails captive portal
Browse files Browse the repository at this point in the history
  • Loading branch information
mh4x0f committed Apr 6, 2019
1 parent 9095274 commit 158e435
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@

<div class="grid">

<form method="POST" action="/login?{{ orig_url }}" class="form login">
<form method="POST" class="form login">

<div class="form__field">
<label for="login__username"><svg class="icon"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#user"></use></svg><span class="hidden">Username</span></label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<div class="container">
<!-- Page content -->
<form method="POST" action="/login?{{ orig_url }}">
<form method="POST" >
Login:<br>
<input type="text" name="login">
<br>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<div class="container">
<!-- Page content -->
<form method="POST" action="/login?{{ orig_url }}">
<form method="POST" >
Usuário:<br>
<input type="text" name="login">
<br>
Expand Down
2 changes: 1 addition & 1 deletion plugins/captivePortal/templates/Flask/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<div class="container">
<!-- Page content -->
<form method="POST" action="/login?{{ orig_url }}">
<form method="POST" >
Login:<br>
<input type="text" name="login">
<br>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
<!-- <img class="profile-img-card" src="//lh3.googleusercontent.com/-6V8xOA6M7BA/AAAAAAAAAAI/AAAAAAAAAAA/rzlHcD0KYwo/photo.jpg?sz=120" alt="" /> -->
<img id="profile-img" class="profile-img-card" src="{{ url_for('static', filename='images/avatar_2x.png') }}" />
<p id="profile-name" class="profile-name-card"></p>
<form class="form-signin" method="POST" action="/login?{{ orig_url }}">
<form class="form-signin" method="POST" >
<span id="reauth-email" class="reauth-email"></span>
<input type="email" name="login" class="form-control" placeholder="Email address" required autofocus>
<input type="password" name="password" class="form-control" placeholder="Password" required>
Expand Down

0 comments on commit 158e435

Please sign in to comment.