Need help on Advance Capstone 3.4 excercise

https://learninghub.kx.com/forums/topic/need-help-on-advance-capstone-3-4-excercise

Not able to get access the port after .z.pw function.

.z.pw:{[user;pswd] $[.Q.sha1 pswd ~.perm.users[user][`password]; 1b; 0b]} 

meta .perm.users 
c       | t f a 
--------| ----- 
user    | s 
password| X 
api     | s 

.perm.users 
user   | password                                   api 
-------| ---------------------------------------------------------------- 
jmurphy| 0x6dc840b1dc23606cdb08eeb1462b9f55e1690a42 all 
psmith | 0x815016d18e68cb0f568d6f5049e667e70d03ddde all 
ataylor| 0x3c3ca14c5ce25d349406e0a0579b7a944c3ee8fc all 
twilson| 0x83b1604a8caebdd7ae17e4e26f4be98c68df80ec all 
fiauser| 0xb03fc290033b0897369bc5588a71c42d954b9c84 .fia.getSummaryReport

You are just missing square brackets when using .Q.sha1

 

hdbH".z.pw:{[user;pswd] $[.Q.sha1[pswd] ~.perm.users[user][`password]; 1b; 0b]}"