kirby()->user($email)->exists()
is not a method, but kirby()->user($email)
will return null
if the user does not exist. So you can just do
if (kirby()->user($email)) {
kirby()->user($email)->exists()
is not a method, but kirby()->user($email)
will return null
if the user does not exist. So you can just do
if (kirby()->user($email)) {