def bad_org

cswap-bend-cli@0.1.0.0 · store/plan.bend:127

import cswap-bend-cli@0.1.0.0/store/plan.bend as Plan
import Base
import cswap-bend-cli@0.1.0.0/store/base.bend as SBase

127def bad_org(+email: String, +seen: String, +want: String) -> String:
128  "The stored credential for " ++ email ++ " belongs to organization " ++ SBase.sel.s(String.is_empty(seen), "personal", seen)
129    ++ ", not " ++ SBase.sel.s(String.is_empty(want), "personal", want) ++ ". Nothing was changed. Two accounts can share an email across organizations. Log in as "
130    ++ email ++ " in the " ++ SBase.sel.s(String.is_empty(want), "personal", want) ++ " organization in THIS environment, then re-run."

Uses (4)

Used by (1)