diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index e933f97..115974f 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,10 +4,9 @@
-
+
-
-
+
@@ -160,7 +159,6 @@
-
@@ -185,7 +183,8 @@
-
+
+
diff --git a/pkg/internal/services/ticket.go b/pkg/internal/services/ticket.go
index 50e2338..781d4d7 100644
--- a/pkg/internal/services/ticket.go
+++ b/pkg/internal/services/ticket.go
@@ -62,6 +62,8 @@ func NewTicket(user models.Account, ip, ua string) (models.AuthTicket, error) {
cfg, err := GetAuthPreference(user)
if err == nil && cfg.Config.Data().MaximumAuthSteps >= 1 {
steps = min(steps, cfg.Config.Data().MaximumAuthSteps)
+ } else {
+ steps = min(steps, 2)
}
}