I would like to find it a number of users currently logged into Redmine.
There is a last connection information but i would like to find it there is someone logged to redmine before I can reset my server for example.
Many Thanks.
Raf
Related
I currently have a website with standard email+password mysql login and I have implemented Facebook Login.
I would like to keep both living together, however I have a little bit of confusion about how I should do it correctly.
In the standard implementation I check if user and pwd are correct then I log the user.
In Facebook login JS after I log the user I have id and email, how can I link it to the existing standard account safely?
After the JS login I could send an ajax request to mysql (a php script) and see if the email+id couple exists, but this way anyone knowing the email and the id of the fb account could do it through a post request and it wouldn't be safe.
What would be the right way to do it?
Thanks for any help!
I have OpenCart on my laptop. There is a Bitnami file in my C drive and inside it is a file called "opencart-3.0.3.6-1". Inside this file are many files.
When I type this number into the address bar: 127.0.0.1:81, a screen comes up with Bitnami at the top and "Awesome! OpenCart is now installed." Underneath it says "Access OpenCart". When I click Access OpenCart, a page comes up with "Your Store" at the top and some random products like phones and monitors for sale. So this must be OpenCart on my laptop.
I don't know what to do next. I want to get to a dashboard or somewhere I can edit this page with my own products but I don't know how to get to there. When I type this "http://127.0.0.1:81/opencart/admin/" into the address bar, I get a login screen asking for username and password but I don't have a username or password. Can anyone tell me how I can acquire a username and password? Thank you!
When installing you should have seen a pre-installation check screen followed by a configuration screen, where you would be asked to enter the database name, database user, password etc, as well as choosing an administrator username and password.
If somehow you managed to install it without doing those things, then you need to open up your database using something like MySQL Workbench of phpMyAdmin and navigate to the user table (default oc_user). There you would be able to see the administrator user, password and salt. The password will be encrypted.
According to this page you can reset the password by following the instructions supplied. Good luck!
I am new to the flask so I need your help on below query-
I created an Flask application and now I want to get the information of user who opened my website? I am not intrested to create any login page or save user information in database. So it will be very simple like this website will be an Opensource and anyone can access.
So could you please let me know the way by which I can get the information of user who opened the website?
As far as I know, there is no way of getting a user's "information" without logging the user in. If you are not interested in creating a database, you can use a log in with google option and then retrieve the "information" of the user using the Google APIs.
It also depends on what information of the user you want. if its simple like the email or first name or gender etc, google login can help with that.
Check these out:
https://realpython.com/flask-google-login/
You would have to provide more info on what you are doing
I have inherited a ColdFusion application (and I'm a noob in ColdFusion) which uses GetAuthUser() to read the name of the logged in user, and then appends #mycompany.com to send emails.
We are going to be migrated to a new domain, under which we are receiving user names that do not match our email addresses.
For example, I login as rickhodder and my email address is rickhodder#mycompany.com, and my login under the new domain is C12345, but my email address will still be rickhodder#mycompany.com.
From some research online I see that ColdFusion doesnt go against active directory, it goes against the NT Domain.
Is there a way under ColdFusion to read the email associated with a user?
I don't think CF is going to provide you with that information 'out of the box'. You probably want to look at the CFLDAP functionality and use that to look up user information from your AD server, which ought to include the information you need.
If you go this route, you can use your own details to connect for development, but make sure you get an account created to do the LDAP connections with in production. It should have password set not to expire and not have permission to login or do much else. It's likely your domain admin will know what you're after far better than I can explain.
I am using django-allauth to provide user login and authentication in my django project. And things were going smoothly till now, but I have come across two things which I do not know whether can be implemented in the current app. Any help is appreciated:
If we give the following setting ACCOUNT_EMAIL_VERIFICATION = True then after singing up the user account is not active until the user activates the email link. But what I want to do is to allow the user to be logged in, but keep the account active temporarily. Let us say if the user does not activate the account using the link within 7 days, the account will be blocked.
I want to allow the user to login using both the email and the username, is that possible? According to the current readme we can do only one of them.
Any kind of help is really appreciated.
Update
I have written a hack for the second problem and if you want you can check that out in my fork of django-alluth https://github.com/sachingupta006/django-allauth
As for the first problem, the Email Confirmations app stores the data the confirmation has been sent; I'd schedule a cronjob that runs every day and deactivates all accounts which haven't been confirmed for 7 days.