I've temporarily lost my iCloud 4-digit security code
I've temporarily lost my iCloud because I don't remember/can't find my 4-digit security code from 2018 (?). Have taken the steps to enter iCloud "Apple ID", but keep getting box for 4-digit code which can't remember. On a 10.14.6 Mac running Mojave. Help!