From caeb2520c58f61800514f0943a05b3c9a61aade0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20B=C3=B6hm?= Date: Wed, 28 Aug 2024 10:12:11 +0200 Subject: [PATCH] Removed pnwed --- app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index e477a58..8cc8e0a 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -17,7 +17,7 @@ class User < ApplicationRecord format: { with: /\b[A-Z0-9._%a-z\-]+@(student\.|)hs\-rm\.de\z/, message: "must be a student.hs-rm.de or hs-rm.de email" } validates :password, allow_nil: true, length: { minimum: 12 } - validates :password, not_pwned: { message: "might easily be guessed" } + # validates :password, not_pwned: { message: "might easily be guessed" } normalizes :email, with: -> { _1.strip.downcase }