mirror of
https://github.com/ysoftdevs/oauth-playground-server.git
synced 2026-01-11 14:30:48 +01:00
hidden faster way of filling up the login form
This commit is contained in:
@@ -31,12 +31,22 @@
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<h6>Predefined accounts:</h6>
|
||||
<ul class="collection">
|
||||
<li class="collection-item">
|
||||
<button class="link-button secret-link"
|
||||
onclick="this.form.username.value='bob'; this.form.password.value='Password1'; return false;">
|
||||
bob / Password1
|
||||
</button>
|
||||
</li>
|
||||
<li class="collection-item">
|
||||
<button class="link-button secret-link"
|
||||
onclick="this.form.username.value='user'; this.form.password.value='user'; return false;">
|
||||
user / user
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
<h6>Predefined accounts:</h6>
|
||||
<ul class="collection">
|
||||
<li class="collection-item">bob / Password1</li>
|
||||
<li class="collection-item">user / user</li>
|
||||
</ul>
|
||||
<form action="/auth/passwordless" method="post" class="right-align">
|
||||
<input type="hidden" name="sessionId" value="{sessionId}">
|
||||
<small>Pst, you can try
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
background-color: #0056b3
|
||||
}
|
||||
|
||||
.link-button {
|
||||
.link-button, .link-button:focus {
|
||||
background: none;
|
||||
border: none;
|
||||
color: #1a0dab;
|
||||
@@ -49,6 +49,11 @@
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.secret-link, .secret-link:focus {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.collection {
|
||||
border: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user