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

RLogin should support auto-account creation #512

Open
paladine opened this issue Nov 5, 2021 · 1 comment
Open

RLogin should support auto-account creation #512

paladine opened this issue Nov 5, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@paladine
Copy link
Collaborator

paladine commented Nov 5, 2021

Upon initial Rlogin connection, if the user doesn't exist, we should support auto creating the accounts, using the default creation key set defined the config file.

It would be useful to have a config option that enables this auto-rlogin-account-creation feature, defaulting to true.

@enusbaum enusbaum added the enhancement New feature or request label Nov 5, 2021
@tuday2
Copy link
Collaborator

tuday2 commented Nov 5, 2021

As part of this we could remove the checks for haskey(), haskeym() and uidkey() (in majorbbs.cs) for missing rlogin user

            //If the user isnt registered on the system, most likely RLOGIN -- so apply the default keys
            if (_accountRepository.GetAccountByUsername(userName) == null)
            {
                keys = _configuration.DefaultKeys;
            }
            else
            {
                var accountKeys = _accountKeyRepository.GetAccountKeysByUsername(userName);
                keys = accountKeys.Select(x => x.accountKey);
            }
           ```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants