Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
gitlab-ce
Commits
75123458
Commit
75123458
authored
Jan 12, 2016
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add user's last used IP addresses to admin page
This would help admins figure out from where spam is originating.
parent
c4511a12
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
CHANGELOG
CHANGELOG
+1
-0
app/views/admin/users/show.html.haml
app/views/admin/users/show.html.haml
+16
-0
No files found.
CHANGELOG
View file @
75123458
...
...
@@ -2,6 +2,7 @@ Please view this file on the master branch, on stable branches it's out of date.
v 8.4.0 (unreleased)
- Bump fog to 1.36.0 (Stan Hu)
- Add user's last used IP addresses to admin page (Stan Hu)
- Add housekeeping function to project settings page
- The default GitLab logo now acts as a loading indicator
- Fix caching issue where build status was not updating in project dashboard (Stan Hu)
...
...
app/views/admin/users/show.html.haml
View file @
75123458
...
...
@@ -70,6 +70,14 @@
%strong
.cred
No
%li
%span
.light
Current sign-in IP:
%strong
-
if
@user
.
current_sign_in_ip
=
@user
.
current_sign_in_ip
-
else
never
%li
%span
.light
Current sign-in at:
%strong
...
...
@@ -78,6 +86,14 @@
-
else
never
%li
%span
.light
Last sign-in IP:
%strong
-
if
@user
.
last_sign_in_ip
=
@user
.
last_sign_in_ip
-
else
never
%li
%span
.light
Last sign-in at:
%strong
...
...
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