mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-12 19:56:48 +00:00
style: Format
This commit is contained in:
1 file changed
+3
-3
@@ -126,9 +126,9 @@ impl Service {
|
||||
let mut sessions = self.sessions.lock();
|
||||
|
||||
let session = match sessions.get_session_by_client_secret(client_secret) {
|
||||
// If a validation session already exists for this client secret, we
|
||||
// can either reuse it with a new token or return early because it's
|
||||
// already valid.
|
||||
// If a validation session already exists for this client
|
||||
// secret, we can either reuse it with a new token or return
|
||||
// early because it's already valid.
|
||||
| Some(session) => {
|
||||
if session.email != recipient.email {
|
||||
return Err!(Request(InvalidParam("Wrong email for session.")));
|
||||
|
||||
Reference in new issue
Block a user