mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-17 02:05:58 +08:00
fixed 密码处理,兼容base64
This commit is contained in:
@@ -4,7 +4,7 @@ class Users::RegisterService < ApplicationService
|
||||
def initialize(params)
|
||||
@login = params[:login]
|
||||
@namespace = params[:namespace]
|
||||
@password = decrypt(params[:password]) rescue ""
|
||||
@password = decrypt(params[:password]) rescue params[:password].to_s
|
||||
@code = params[:code]
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user