Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@aschempp
Copy link
Member

@aschempp aschempp commented Dec 20, 2017

More things we should add to the new security implementation.

Tasks:

This PR is just an early draft for tasks and will be rebased once #1238 is merged.

@aschempp aschempp changed the title Security changes (step 3) [WIP] Security changes (step 3) Dec 20, 2017
@leofeyer leofeyer added the bug label Dec 20, 2017
@leofeyer leofeyer added this to the 4.5.0 milestone Dec 20, 2017
private function checkIfAccountIsDisabled(User $user): void
{
if (false !== $user->isEnabled()) {
if (!$user->disable) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about (!$user->start || $user->start < $time) && (!$user->stop || $user->stop > $time)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's already handled in e534341#diff-3965f81a275b864b36b992503eea7bd5R126, apparently because the log messages are different.

@leofeyer
Copy link
Member

Since we cannot agree on how to implement ORM, let's just write our own token provider that uses tl_remember_me instead of rememberme_token. I can do the work if you want.

@aschempp
Copy link
Member Author

I thought we're gonna discuss this tomorrow on the public Mumble call?

@leofeyer leofeyer modified the milestone: 4.5.0 Dec 21, 2017
@aschempp aschempp closed this Dec 21, 2017
@aschempp aschempp deleted the bugfix/security3 branch April 3, 2018 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants