feat: enable 2FA login

This commit is contained in:
Paul Makles
2022-06-12 18:50:30 +01:00
parent 64bb171cc8
commit 11d89b3bf0
3 changed files with 4 additions and 4 deletions

4
Cargo.lock generated
View File

@@ -2505,7 +2505,7 @@ dependencies = [
[[package]]
name = "rauth"
version = "1.0.0"
source = "git+https://github.com/insertish/rauth?rev=7e727e2b9625b4f061b4f69a38de91e9351e266f#7e727e2b9625b4f061b4f69a38de91e9351e266f"
source = "git+https://github.com/insertish/rauth?rev=ab7cc5a9739f1147375d3a559250f4be2a051565#ab7cc5a9739f1147375d3a559250f4be2a051565"
dependencies = [
"async-std",
"async-trait",
@@ -2986,7 +2986,7 @@ dependencies = [
[[package]]
name = "rocket_rauth"
version = "1.0.0"
source = "git+https://github.com/insertish/rauth?rev=7e727e2b9625b4f061b4f69a38de91e9351e266f#7e727e2b9625b4f061b4f69a38de91e9351e266f"
source = "git+https://github.com/insertish/rauth?rev=ab7cc5a9739f1147375d3a559250f4be2a051565#ab7cc5a9739f1147375d3a559250f4be2a051565"
dependencies = [
"okapi",
"rauth",

View File

@@ -52,7 +52,7 @@ mobc-redis = { version = "0.7.0", default-features = false, features = ["async-s
# web
rocket = { version = "0.5.0-rc.2", default-features = false, features = ["json"] }
rocket_empty = { git = "https://github.com/insertish/rocket_empty", branch = "master" }
rocket_rauth = { git = "https://github.com/insertish/rauth", rev = "7e727e2b9625b4f061b4f69a38de91e9351e266f" }
rocket_rauth = { git = "https://github.com/insertish/rauth", rev = "ab7cc5a9739f1147375d3a559250f4be2a051565" }
# spec generation
schemars = "0.8.8"

View File

@@ -84,7 +84,7 @@ rocket_empty = { optional = true, git = "https://github.com/insertish/rocket_emp
rocket_cors = { optional = true, git = "https://github.com/lawliet89/rocket_cors", rev = "5843861a88958c16bfaa0b40f0d8910772bcd2f6" }
# rAuth
rauth = { git = "https://github.com/insertish/rauth", rev = "7e727e2b9625b4f061b4f69a38de91e9351e266f", features = [ "async-std-runtime" ] }
rauth = { git = "https://github.com/insertish/rauth", rev = "ab7cc5a9739f1147375d3a559250f4be2a051565", features = [ "async-std-runtime" ] }
# Sentry
sentry = "0.25.0"