Changes
Page history
Cheat Sheet aktualisieren
authored
Mar 14, 2024
by
Daniel Kazior
Show whitespace changes
Inline
Side-by-side
Cheat-Sheet.md
View page @
cfa3ae25
## Create new Admin user from CLI
```
bash
php bin/magento admin:user:create
--admin-user
=
mageplaza
--admin-password
=
WeLoveMagento
--admin-email
=
hi@mageplaza.com
--admin-firstname
=
Mageplaza
--admin-lastname
=
Family
```
## Update a Customer password in database (identified by email)
## Update a Customer password in database (identified by email)
```
sql
```
sql
UPDATE
`customer_entity`
SET
`password_hash`
=
CONCAT
(
SHA2
(
'xxxxxxxxPASSWORD'
,
256
),
':xxxxxxxx:1'
)
WHERE
`email`
=
'example@crefopay.de'
;
UPDATE
`customer_entity`
SET
`password_hash`
=
CONCAT
(
SHA2
(
'xxxxxxxxPASSWORD'
,
256
),
':xxxxxxxx:1'
)
WHERE
`email`
=
'example@crefopay.de'
;
...
...
...
...