school不用Base64解码,两边都是utf8
This commit is contained in:
parent
70ff3e2c19
commit
1767e1200d
|
@ -17,7 +17,7 @@ class Sso < ActiveRecord::Base
|
|||
sso.openid = opt["openid"]
|
||||
sso.email = opt["email"]
|
||||
sso.password = opt["password"]
|
||||
sso.school = Base64.decode64(opt["school"]).force_encoding('utf-8')
|
||||
sso.school = opt["school"]
|
||||
sso.sex = opt["sex"]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue