mirror of
https://github.com/ysoftdevs/oauth-playground-server.git
synced 2026-04-18 14:49:46 +02:00
hidden faster way of filling up the login form
This commit is contained in:
@@ -31,12 +31,22 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</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>
|
</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">
|
<form action="/auth/passwordless" method="post" class="right-align">
|
||||||
<input type="hidden" name="sessionId" value="{sessionId}">
|
<input type="hidden" name="sessionId" value="{sessionId}">
|
||||||
<small>Pst, you can try
|
<small>Pst, you can try
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
background-color: #0056b3
|
background-color: #0056b3
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-button {
|
.link-button, .link-button:focus {
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
color: #1a0dab;
|
color: #1a0dab;
|
||||||
@@ -49,6 +49,11 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.secret-link, .secret-link:focus {
|
||||||
|
text-decoration: none;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
.collection {
|
.collection {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user