[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: :auth - :session issue
From: |
Nala Ginrut |
Subject: |
Re: :auth - :session issue |
Date: |
Sun, 17 Jan 2021 23:50:36 +0800 |
User-agent: |
mu4e 1.4.13; emacs 27.1 |
Mortimer Cladwell writes:
>>From the manual I expect (:auth rc) to validate the user, and then I need
> to submit (:session rc 'spawn) to spawn a session. Looks like the session
> is spawned with (:auth rc). Also, I see the cookie in the browser console
> - "sid" with the value "b2960....".
>
> If I submit invalid credentials - no session, no sid cookie.
>
> Is this how it works now?
Yes, if you use :auth API, then it will check and spawn session for you
automatically.
Actually, :auth is based on :session API in the low-level details.
Best regards.
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
Fingerprint F53B 4C56 95B5 E4D5 6093 4324 8469 6772 846A 0058
signature.asc
Description: PGP signature