Skip to content

Commit

Permalink
Default to email in the AuthEndpointsForSubject.DebuggingHtmlEndpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownJoe796 committed Oct 31, 2023
1 parent 66e36fa commit 73848f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ class AuthEndpointsForSubject<SUBJECT : HasId<ID>, ID : Comparable<ID>>(
<form action='.?proofs=${Serialization.javaData.encodeToBase64Url(otherProofs)}' enctype='application/x-www-form-urlencoded' method='post'>
<p>Enter your login key</p>
<select name='method'>
${handler.proofMethods.joinToString() { "<option value='${it.info.via}'>${it.info.via}</option>" }}
${handler.proofMethods.joinToString() { "<option value='${it.info.via}' ${if(it is EmailProofEndpoints) "selected" else ""}>${it.info.via}</option>" }}
</select>
<input name='property', value='email'/>
<input name='value'/>
Expand Down

0 comments on commit 73848f9

Please sign in to comment.