You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -28,9 +27,9 @@ Visit your Magento admin backend in a browser, and click the link **Forgot your
28
27
29
28
Next insert your email address and press the **Retrieve Password** button.
30
29
31
-
An email will be send to your email address, containing a password reset link.
30
+
An email will be sent to your email address, containing a password reset link.
32
31
33
-
An email will be send to your email address, containing a password reset link. Click the **RESET PASSWORD** link, or paste the link in your browser.
32
+
An email will be sent to your email address, containing a password reset link. Click the **RESET PASSWORD** link, or paste the link in your browser.
34
33
35
34
You then will be asked to insert a new password. Insert the password twice and click the **Reset Password** button to save your changes.
36
35
@@ -50,7 +49,7 @@ To reset a password through the Magento backend, access the backend in your brow
50
49
51
50
From the **My Account** management page, insert your **current password** and second, insert your new password twice. After that, click the **Save Account** Button in the top-right corner of the page.
52
51
53
-
### Reset Someone Elses Password Using the Magento Admin Backend
52
+
### Reset Someone Else's Password Using the Magento Admin Backend
54
53
55
54
To reset another users credentials, insert the name of the particular user, first, select `System` -> `Permissions` -> `Users`.
56
55
@@ -67,37 +66,31 @@ The `magerun` Magento management commandline utility provides a plugin to create
67
66
```bash
68
67
cd~/public
69
68
magerun admin:user:change-password [username]
70
-
71
69
```
72
70
73
71
This will show a password prompt. Insert the password and test if you can login on the webinterface. The plugin does not ask for a confirmation, so it might be smart to test the password right after changing it.
74
72
75
73
## Change the Password Directly in the Database
76
74
77
-
Additionally you can change the passwords for admin users directly in the database. This is for experts only and not the easiers way. If you are not familiar with using MySQL, use the `magerun` plugin.
75
+
Additionally you can change the passwords for admin users directly in the database. This is for experts only and not the easier way. If you are not familiar with using MySQL, use the `magerun` plugin.
78
76
79
77
### Set a New Password Using phpMyAdmin
80
78
81
79
First, log in to phpMyAdmin:
82
80
83
-
- Go to phpMyAdmin on the hypernode by visitting<http://appname.hypernode.io/phpmyadmin> or by clicking the link in our service panel.
81
+
- Go to phpMyAdmin on the hypernode by visiting<http://appname.hypernode.io/phpmyadmin> or by clicking the link in our service panel.
84
82
- Login with the username and password in `~/.my.cnf`
85
-
- Select the prod database in the left side panel.
83
+
- Select the prod database on the left side panel.
86
84
- In the top bar, select the `SQL` tab.
87
85
88
86
Next, follow the instructions below:
89
87
90
88
- Paste the following query:
91
-
92
-
```mysql
93
-
UPDATE admin_user SET password = CONCAT(MD5('$SALT$PASSWORD'), ':$SALT') WHERE username ='$USERNAME';
94
-
```
95
-
96
-
```
97
-
+ Replace `$PASSWORD` with the new admin password and replace `$USERNAME` with the username you want to change the password for.
98
-
+ Replace `$SALT` with a random string of characters. Use the same random string in both parts of the SQL query. The string should be just 2 characters.
99
-
```
100
-
89
+
```mysql
90
+
UPDATE admin_user SET password = CONCAT(MD5('$SALT$PASSWORD'), ':$SALT') WHERE username ='$USERNAME';
91
+
```
92
+
- Replace `$PASSWORD` with the new admin password and replace `$USERNAME` with the username you want to change the password for.
93
+
- Replace `$SALT` with a random string of characters. Use the same random string in both parts of the SQL query. The string should be just 2 characters.
101
94
- Click `Go` to execute the query, and login with the given username using the new password.
102
95
103
96
If your Magento 1 shop uses table prefixes add the prefix to your table name. IE: If your table prefix is mage\_, use the following query instead:
0 commit comments