Commit Graph

22 Commits

Author SHA1 Message Date
Mark McDowall 0871949b74 Fixed: Redirecting after login
(cherry picked from commit 745b92daf4bf4b9562ffe52dad84a12a5561add5)
2024-02-07 08:56:27 +02:00
Mark McDowall eff04d73d9 Rename 'ReturnUrl' to 'returnUrl' for forms auth redirection
(cherry picked from commit 812712e2843a738054c065a6d5c1b7c81c5f8e7b)
2023-11-17 03:30:37 +02:00
Qstick cdd683ae8f New: Rework and Require Authentication
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
(cherry picked from commit 8911386ed0fcaa5ed0a894e511a81ecc87e58d49)
2023-10-20 19:45:01 -05:00
Qstick efb9013bad Sliding expiration for auth cookie and a little clean up
Closes #2920

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2022-12-11 19:23:22 -06:00
geogolem aac23d4887 Fixed: Give a unique name to the cookie 2021-12-24 14:17:17 -06:00
ta264 222b56e7bc Fixed: Forms login with urlbase
(cherry picked from commit 811a9d4c6123643e0a2ae26c1ccf06717cb5f47b)
(cherry picked from commit a8c91f2bc819f570f8e07e489ba53b12a22ae0e6)
2021-09-26 19:56:50 -04:00
ta264 2b0da546c9 Tidy conversion to aspnetcore
(cherry picked from commit 490f6e2e6aa3f220cc98f257a3ca3b2bea48fb80)
(cherry picked from commit 8f3f90d4078d9d072d8ad4ccc3be35963b7435d6)
2021-09-26 19:56:50 -04:00
ta264 7fe36a7e92 New: Use native dotnet host and DryIoc
(cherry picked from commit d6170dbfedf27a6218afe242a0fae2eb8b368aec)
2021-09-26 19:56:50 -04:00
ta264 c247d07e84 New: Use ASP.NET Core instead of Nancy 2021-09-26 19:56:50 -04:00
servarr[bot] f50556d4d5
Fixed: Links to Sonarr now uses auth cookie (#2156)
(cherry picked from commit a47cb2390eb5151ed19388def46b0bb165d27647)

Co-authored-by: Mark McDowall <mark@mcdowall.ca>
2021-04-15 08:10:19 -04:00
Mark McDowall 9c83e20b88 Fixed: Set SameSite=Strict for SonarrAuth cookie
Closes #2060

(cherry picked from commit 675c72f02e7565a937b40c23ec27df6d86f95dc3)
2021-04-01 22:03:16 -04:00
Mark McDowall 66c1ac9971 Fixed: Don't set cookies for static resources
Closes #2059

(cherry picked from commit 6619350f87a8f6ddedfea0cc8ca5b1e9ab006091)
2021-04-01 22:03:16 -04:00
Qstick 8af09595fb Added UserAgent to api request trace log
Co-Authored-By: Taloth <Taloth@users.noreply.github.com>
2020-10-13 23:25:40 -04:00
Taloth Saldono 6abe5f3df3 Log Real IP on Authentication failure in case of a reverse proxy
(cherry picked from commit 686a14cdff63fcffe4fceee1f9a06d0b2dc3e813)
2020-10-13 23:19:26 -04:00
Qstick a4b78b44ce StyleCop (#1058)
* Stylecop Rules and Fixes
2020-10-13 23:18:09 -04:00
Qstick d1f0b3a222 Fixed: Return better error message if username or password is null
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2020-10-13 23:14:57 -04:00
ta264 17c9fc419c New: Update Nancy to 2.0 2019-09-14 15:12:15 +01:00
Taloth Saldono b880309356 New: Added Auth-* log entries for fail2ban purposes
closes #2760
2019-08-31 17:18:18 +01:00
Qstick 9d27fff825 Fixed: Don't Error to New Page on Failed Login 2019-04-06 22:18:45 -04:00
Qstick 7fd0089884 Fixed: Can't login with a username and a blank password
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2019-03-26 22:12:44 -04:00
Qstick 44ad754c86 Fixed: Login page content, UrlBasePipeline include
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2018-04-26 21:15:48 -04:00
Qstick a747c5f135 Fix some Build Issues, Renaming 2017-09-05 23:38:05 -04:00