Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhupu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sugar
zhupu
Commits
a7f52e41
Commit
a7f52e41
authored
Nov 25, 2023
by
sugar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
姓名卡
parent
2de2f4bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
addons/fastim/controller/api/User.php
addons/fastim/controller/api/User.php
+0
-2
application/common/library/Auth.php
application/common/library/Auth.php
+0
-1
No files found.
addons/fastim/controller/api/User.php
View file @
a7f52e41
...
...
@@ -456,8 +456,6 @@ class User extends Base
* 忘记登录密码
*/
public
function
forgetPassword
(){
$nickname
=
create_nickname
(
rand
(
1
,
2
));
dump
(
$nickname
);
die
;
$account
=
$this
->
request
->
post
(
'account'
);
$first_password
=
$this
->
request
->
post
(
'first_password'
,
0
);
$second_password
=
$this
->
request
->
post
(
'second_password'
,
0
);
...
...
application/common/library/Auth.php
View file @
a7f52e41
...
...
@@ -224,7 +224,6 @@ class Auth
'avatar'
=>
''
,
];
$params
=
array_merge
(
$data
,
[
'nickname'
=>
$extend
[
'nickname'
],
// 'nickname' => preg_match("/^1[3-9]{1}\d{9}$/",$username) ? substr_replace($username,'****',3,4) : $username,
'salt'
=>
Random
::
alnum
(),
'jointime'
=>
$time
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment