Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX Remove "Login Attempts" tab from Member CMS fields #35

Conversation

robbieaverill
Copy link
Contributor

@robbieaverill robbieaverill commented May 28, 2018

Adding the relationship for Member -> LoginAttempt creates an automatically scaffolded CMS tab for Members, listing the ID of each login attempt:

image

This PR removes that and replaces the logic with a lookup using an ORM filter instead. Also adds a couple of missing PHPDoc imports, and adds the ISO datetime format to match the "created" column:

Before:

image

After:
image

@NightJar NightJar merged commit 24b2e26 into silverstripe:master May 28, 2018
@NightJar NightJar deleted the pulls/2.0/remove-login-attempts-tab branch May 28, 2018 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants