Software / code / prosody-modules
File
mod_http_oauth2/html/login.html @ 5278:d94dba396f9f
mod_http_oauth2: Declare additional client registration fields as strings
Previously any property not listed in the schema was allowed in any
form, which is probably a bit too liberal. Instead, limit extra fields
to simple strings, which should still allow localized versions of the
various URIs and descriptive properties per RFC 7591 §2.2
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 26 Mar 2023 14:44:30 +0200 |
| parent | 5272:acab61ba7f02 |
| child | 5466:398d936e77fb |
line wrap: on
line source
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>{site_name} - Sign in</title> <link rel="stylesheet" href="style.css"> </head> <body> <main> <h1>{site_name}</h1> <fieldset> <legend>Sign in</legend> <p>Sign in to your account to continue.</p> {state.error&<div class="error"> <p>{state.error}</p> </div>} <form method="post"> <input type="text" name="username" placeholder="Username" aria-label="Username" required autofocus><br/> <input type="password" name="password" placeholder="Password" aria-label="Password" autocomplete="current-password" required><br/> <input type="submit" value="Sign in"> </form> </fieldset> </main> </body> </html>